home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
SNR40.ARJ
/
CAP2LC.SNR
< prev
next >
Wrap
Text File
|
1990-07-20
|
2KB
|
72 lines
\ This table will create sentence-style upper and lower case text
\ from text that is all upper case.
\ Lower case characters will be left the same.
A*00=A*01 \ This series of equations outputs a Cap for a Cap,
B*00=B*01 \ when the context flag's state is OFF, and then they
C*00=C*01 \ each will set the context flag's state ON.
D*00=D*01
E*00=E*01
F*00=F*01
G*00=G*01
H*00=H*01
I*00=I*01
J*00=J*01
K*00=K*01
L*00=L*01
M*00=M*01
N*00=N*01
O*00=O*01
P*00=P*01
Q*00=Q*01
R*00=R*01
S*00=S*01
T*00=T*01
U*00=U*01
V*00=V*01
W*00=W*01
X*00=X*01
Y*00=Y*01
Z*00=Z*01
A*01=a \ This series of equations outputs a Lower for a Cap,
B*01=b \ when the context flag's state is ON. Notice that no
C*01=c \ flag state is set in the replacement. That's because
D*01=d \ we don't want each character to affect the context
E*01=e \ flag. The group of equations that follows this will
F*01=f \ do that.
G*01=g
H*01=h
I*01=i
J*01=j
K*01=k
L*01=l
M*01=m
N*01=n
O*01=o
P*01=p
Q*01=q
R*01=r
S*01=s
T*01=t
U*01=u
V*01=v
W*01=w
X*01=x
Y*01=y
Z*01=z
.=.*00 \ And each of these punctuation characters
/=/*00 \ will set the context flag's state OFF, so that
(=(*00 \ the next Alphabetic Cap will be output as a Cap
:=:*00 \ (see the first group of equations, above).
@=@*00 \ Notice that these equations do not specify the
\2a=\2a*00 \ test state of the context flag! That's because
!=!*00 \ we don't care what state the context flag is in
?=?*00 \ when these equations are encountered -- we just
<=<*00 \ want them to take effect no matter what.
[=[*00
\\E